import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { PageComponent } from './page.component';
import { PageRoute } from "./page.routes";

import { LoginService } from '../service/login.service';
import { IterableModule } from "../pipe/iterable.pipe";
import { TranslateModule } from 'ng2-translate';
//directive
import { EChartOptionDirective } from '../directive/echart-option.directive';
@NgModule({
  imports: [
    CommonModule,
    PageRoute,
    FormsModule,
    IterableModule,
    TranslateModule
  ],
  providers: [
    LoginService
  ],
  declarations: [
    PageComponent,
    EChartOptionDirective
  ]
})
export class PageModule { }
